package com.demo.mapper;

import com.demo.pojo.Inout;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InoutMapper {
    int deleteByPrimaryKey(Integer inoutNo);

    int insert(Inout record);

    int insertSelective(Inout record);

    Inout selectByPrimaryKey(Integer inoutNo);

    int updateByPrimaryKeySelective(Inout record);

    int updateByPrimaryKey(Inout record);

    List<Inout> pageByCond(
            @Param("content") String content,
            @Param("back") String back,
            @Param("pageNo") int pageNo,
            @Param("pageSize") int pageSize);

    int pageCount(
            @Param("content") String content,
            @Param("back") String back);
}